#head {
    width: 100%;
    height: 40px;
    background-color: #f5f5f5;
    line-height: 40px;
}

#head a {
    float: left;
    margin: 2px 20px;

}